package com.bizzard.org.mapper;



import com.bizzard.basic.mapper.BaseMapper;
import com.bizzard.org.domain.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;


/**
 * Mapper接口：员工
 */
public interface EmployeeMapper extends BaseMapper<Employee> {


    /**
     *  添加中间表数据
     * @param id
     * @param role_id
     */
    void addEmployeeRole(@Param("id") Long id,@Param("role_id") Long role_id);
    /**
     * 删除中间表数据
     * @param id
     */
    void delEmployeeRole(Long id);

    
    Employee loadByLogininfoId(Long id);

    List<Employee> list(Long shopId);
}
